{include file="public/head" /}
  
  <body>
    <div class="x-body">
        <form class="layui-form" style="margin-left: 80px;" method="post" action="">
            <input type="hidden" value="{$billid}" name="billid"/>
            <input type="hidden" value="{$roominfo.id}" name="room_id"/>
            <input type="hidden" value="{$communityinfo.id}" name="community_id"/>
            <input type="hidden" value="{$communityinfo.community_name}" name="community_name"/>
            <input type="hidden" value="{$roominfo.address}" name="room_address"/>
            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red">*</span>接收手机:
                </label>
                <div class="layui-input-inline">
                   <input type="text" id="phone" name="phone" class="layui-input" style="width: 300px;" value="{$roominfo.owner_phone}">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="owner_name" class="layui-form-label">
                    <span class="x-red">*</span>业主姓名:
                </label>
                <div class="layui-input-inline">
                   <input type="text" id="owner_name" name="owner_name" class="layui-input" style="width: 300px;" value="{$roominfo.owner_name}" readonly>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="username" class="layui-form-label">
                    <span class="x-red"></span>短信内容:
                </label>
                <div class="layui-input-inline">
                    
                     <textarea placeholder="请输入内容" id="con" name="con" class="layui-textarea" style="width: 300px;">{$contents}</textarea> 
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_repass" class="layui-form-label">
                </label>
                <button  class="layui-btn" lay-filter="add" lay-submit="">
                    发送
                </button>
            </div>
      </form>
    </div>
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            
            //执行一个laydate实例
            laydate.render({
            elem: '#start' //指定元素
            ,format: 'yyyyMMdd'
            });

            //执行一个laydate实例
            laydate.render({
            elem: '#end' //指定元素
            ,format: 'yyyyMMdd'
            });
        });
        
    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>